#!/usr/bin/env bash
cd oneropemvp-common
rm -rf target
mvn -Dmaven.test.skip=true package clean install -U

cd ../oneropemvp-service-web
rm -rf target
mvn -Dmaven.test.skip=true package clean install -U -e

filename=duozhuapi.jar
scp target/oneropemvp-service-web-1.0-SNAPSHOT.jar root@123.57.182.202:/application/duozhu/server/api/${filename}
